﻿using Microsoft.Extensions.Configuration;
using System.Configuration;

namespace MiniFox.Scripting.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public class ArgumentSetting : IArgumentSetting
    {
        const string NAME = "name";
        const string TYPE = "type";

        /// <summary>
        /// 参数名
        /// </summary>
        [ConfigurationKeyName(NAME)]
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        /// 参数类型
        /// </summary>
        [ConfigurationKeyName(TYPE)]
        public string Type
        {
            get;
            set;
        } = "System.String";
    }
}
